Returns the current system date as a string, or resets the date. The date format depends on your local system settings.
システムの現在の日付を文字列として取得するか、日付のリセットを行います。日付の書式は、ローカルシステムの設定に依存します。
Date ; Date = Text As String
Date ; Date = Text As String
Text: Only required in order to reset the system date. In this case, the string expression must correspond to the date format defined in your local settings.
Text: システムの日付設定をリセットする場合にのみ指定。この場合、指定する文字列の表式は、ローカルシステムの日付書式に準じておく必要があります。
Sub ExampleDate
Sub ExampleDate
msgbox "The date is " & Date
msgbox "The date is " & Date
end sub
end sub